import request from '@/utils/request'

// 查询货币充值记录列表
export function listMoneyRechargeRecord(query) {
  return request({
    url: '/money/moneyRechargeRecord/list',
    method: 'get',
    params: query
  })
}

// 查询货币充值记录详细
export function getMoneyRechargeRecord(id) {
  return request({
    url: '/money/moneyRechargeRecord/' + id,
    method: 'get'
  })
}

// 新增货币充值记录
export function addMoneyRechargeRecord(data) {
  return request({
    url: '/money/moneyRechargeRecord',
    method: 'post',
    data: data
  })
}

// 修改货币充值记录
export function updateMoneyRechargeRecord(data) {
  return request({
    url: '/money/moneyRechargeRecord',
    method: 'put',
    data: data
  })
}

// 删除货币充值记录
export function delMoneyRechargeRecord(id) {
  return request({
    url: '/money/moneyRechargeRecord/' + id,
    method: 'delete'
  })
}

// 审核
export function auditMoneyRechargeRecord(params) {
  return request({
    url: '/money/moneyRechargeRecord/verify',
    method: 'get',
    params
  })
}